package main

import "fmt"

func main() {
	s := "你好"
	s1 := []byte(s)
	fmt.Println(s1)
	s2 := []rune(s)
	fmt.Println(s2)
	for _, v := range(s1) {
		fmt.Print(string(v))  // 乱码
	}
	fmt.Println()
	for _, v := range(s2) {
		fmt.Print(string(v))
	}
	fmt.Println()
}